<?xml version="1.0" encoding="UTF-8"?>

<!--
    Document   : Catalogues.xsl
    Created on : May 23, 2013, 10:35 PM
    Author     : Kim
    Description:
        Purpose of transformation follows.
-->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output method="html"/>

    <!-- TODO customize transformation rules 
         syntax recommendation http://www.w3.org/TR/xslt 
    -->
    <xsl:template match="Catalogues">
        <ul class="sidebar_list">
            <xsl:for-each select="Catalogue">
                <li class="first">
                    <a href="#" onclick="applyCatalogXSLWithXML('{catalogName}')">
                        <xsl:value-of select='catalogName'/>
                    </a>
                </li>
            </xsl:for-each>
        </ul>
    </xsl:template>
</xsl:stylesheet>
